Microsoft Azure Security by Roberto Freato

Microsoft Azure Security by Roberto Freato

Author:Roberto Freato
Language: eng
Format: mobi, pdf
Publisher: Packt Publishing
Published: 2015-04-06T21:00:00+00:00


BlobContainerPermissions blobContainerPermissions = new BlobContainerPermissions();

blobContainerPermissions.SharedAccessPolicies.Add( "myPolicy", sharedAccessPolicy);

container.SetPermissions(blobContainerPermissions);

This policy is persisted into the Storage Account and it states that every SAS associated with it would have read/write access rights (for three days from the creation of the SAP) to every bit of content of the specified container.

Tip

A note about Storage Files: At the time of writing this book, Azure Storage Files is still in preview. Storage Files is a service, letting users create SMB (short for Server Message Block)-like network shares, to be mounted on Azure-hosted VMs, enabling many file-system-based scenarios. However, it is still not possible to use Storage Files with SAS, so we must keep an accurate track of parties using this feature, because they actually can control the whole account.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.